package com.aaa.mrcai.mapper;

import com.aaa.mrcai.pojo.entity.UserInfo;
import com.aaa.mrcai.pojo.entity.UserLogin;
import org.apache.ibatis.annotations.Param;

/**
 * Demo class
 *
 * @Author: Wang
 * @Date: Created in 10:02 2021/12/8
 */

public interface UserLoginMapper {

    UserLogin userLogin(@Param("telephone") String telephone, @Param("password") String password);

    UserInfo getUserById(Integer uid);

    Long isTelephoneExist(String telephone);

    int businessState(int bid);
}
